<tr class="title_tb">
    <td width="3%" style="border:0px"></td>
    <td width="15%"><div>{$_TR.date}</div></td>
    <td width="37%"><div>{$_TR.name_case}</div></td>
    <td width="20%"><div>{$_TR.video}</div></td>
    <td width="25%"><div>{$_TR.report}</div></td>
</tr>

{foreach from=$cases key=key item=item name=foo}
<tr>
    <td class="count_b">{$key+$start}.</td>
    <td class="content_td"> {$item->date_create}</td>
    <td class="content_td">{$item->name}</td>
    <td class="td_img"><a href="#"><img src="{$smarty.const.THEME_RELATIVE}images/video_view.png" alt=""></a></td>
    <td>{if $item->decode_id}<a class="file_download" rel="{$item->decode_id}" href="javascript:void(0);"><img src="{$smarty.const.THEME_RELATIVE}images/type/{$item->file_type}.png" alt=""></a>{/if}
    </td>
</tr>
{/foreach}



<tr style="display:none"><td rowspan="4" align="center">
        <div class="selectpage" align="center" id="selectpage_cases_ajax" >
            {if $curent_page>1}<a class="change_page" rev="{$curent_page-1}" href="javascript:void(0);" onclick="go_case_page(this)">«{$_TR.prev} </a>{else}«{$_TR.prev} {/if}
            {section name=page start=1 loop=$total+1 step=1}
            {if $smarty.section.page.index!=$curent_page}<a class="change_page" rev="{$smarty.section.page.index}" href="javascript:void(0);" onclick="go_case_page(this)">{$smarty.section.page.index}</a>{else}<font style="font-weight:bold">{$smarty.section.page.index}</font>{/if} 
            {/section} 
            {if $curent_page<$total}<a class="change_page" rev="{$curent_page+1}" href="javascript:void(0);" onclick="go_case_page(this)"> {$_TR.next}»</a>{else} {$_TR.next}»{/if}
            <script type="text/javascript">
                jQuery("#selectpage_cases").html(jQuery("#selectpage_cases_ajax").html());
            </script>
        </div></td></tr>
        
        {literal}
<script type="text/javascript">
    jQuery(".file_download").click(function() {
    $("#click_show_download").eq(0).trigger("click");
    download_file(this);

    });
    
        jQuery(".selectpage a").click(function(e) {
        jQuery(e).attr('href').split('/');
        go_page(e,mod);
        return false;
        
    });
    </script>{/literal}